import request from "@/utils/request"

export const addOutboundOrderApi = (data)=>request.post('/outbound_order',data)

export const getOutboundOrderPageApi = (page,pageSize,invoiceCode,status,customerName)=>request.get(`/outbound_order?page=${page}&pageSize=${pageSize}&invoiceCode=${invoiceCode}&status=${status}&customerName=${customerName}`)

export const updateOutboundOrderApi = (data)=>request.put(`/outbound_order`,data)

export const getOutboundOrderPageByStatusApi = (page,pageSize,status,invoiceCode)=>request.get(`/outbound_order/status?page=${page}&pageSize=${pageSize}&status=${status}&invoiceCode=${invoiceCode}`)